<?xml version="1.0" encoding="UTF-8"?>
<%@page contentType="text/xml" pageEncoding="UTF-8"%>
<%@page import="RoomDTO.*,java.util.*,Controller.*" %>
<room>
    <%
                ArrayList<Room> roomList = ChatController.roomList;
                Room tmp = new Room();
                if (roomList != null) {
                    for (int i = 0; i < roomList.size(); i++) {
                        tmp = roomList.get(i);
    %>
    <roomID><%= tmp.getRoomID()%></roomID>
    <participant><%= tmp.getParticipant()%></participant>
    <createdTime><%= tmp.getCreatedTime()%></createdTime>
    <message><%= tmp.getMessage()%></message>
    <%}
            }
    %>
</room>
